package io.gitee.twoke.generator.engine.impl;

import io.gitee.twoke.generator.engine.impl.db.DbSqlSession;
import io.gitee.twoke.generator.engine.impl.interceptor.Command;
import io.gitee.twoke.generator.engine.impl.interceptor.CommandContext;

public final class SchemaOperationsGenerateEngineBuild implements Command<Void> {

  public Void execute(CommandContext commandContext) {
    DbSqlSession dbSqlSession = commandContext.getDbSqlSession();
    if (dbSqlSession != null) {
      dbSqlSession.performSchemaOperationsGenerateEngineBuild();
    }
    return null;
  }
}